import math

class Calculate:
    def add(self,a,b):
        return a+b

    def sub(self,a,b):
        return a-b

    def mul(self,a,b):
        return a*b

    def div(self, a, b):
        return a / b

    def div2(self, a, b):
        return a // b

    def power(self, a, b):
        return a ** b

    def sqrt(self, a):
        return math.sqrt(a)

y=Calculate()
print(y.add(1,2))
print(y.sub(3,4))
print(y.mul(5,6))
print(y.div(6,3))
print(y.div2(6,3))
print(y.power(2,4))
print(y.sqrt(16))

class Dog:
    def name(self,name):
        return f'我叫{name}'

    def age(self,age):
        return f'我今年{age}岁啦'

_name=Dog().name('哈士奇')
print(_name)
_age=Dog().age('3')
print(_age)